# This is a sample Python script.
import multiprocessing
# Press ⌃R to execute it or replace it with your code.
# Press Double ⇧ to search everywhere for classes, files, tool windows, actions, and settings.

import sys
from PyQt5 import QtWidgets

from main import MainWindow
# from views.base.base import BaseWindow

if __name__ == '__main__':
    multiprocessing.freeze_support()

    app = QtWidgets.QApplication(sys.argv)
    # 装载全局样式库
    # apply_stylesheet(app, theme='light_cyan.xml')
    # 加载窗体对象
    mainWindow = MainWindow()  # 装载主窗体
    # 打开主窗体
    mainWindow.show()
    sys.exit(app.exec())

# See PyCharm help at https://www.jetbrains.com/help/pycharm/
